<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<body>
<a href="helloSpring?heihei=我是一个参数">您好 Spring</a>
<br>
<form action="user/getUser" method="post">
    <%--如果没有注解RequestParam,name的命名必须保持一致--%>
    <input type="text" name="name"/>
    <br>
    <input type="submit" value="查询名字"/>
</form>
<br>
<form action="user/basicParams" method="post">
    <input type="text" name="name"/>
    <input type="text" name="age"/>
    <br>
    <input type="submit" value="基本参数"/>
</form>
<br>
<form action="user/referenceParams" method="post">
    <input type="text" name="test"/>  <br>
    引用：<input type="text" name="user.name"/><br>
    <input type="text" name="user.age"/> <br>
    list:<input type="text" name="users[0].name"/> <br>
    <input type="text" name="users[0].age"/> <br>
    map:<input type="text" name="userMap['suibian'].name"/> <br>
    <input type="text" name="userMap['suibian'].age"/> <br>

    <input type="submit" value="引用参数"/>
</form>
<br>
<form action="user/customConvertParams" method="post">
    自定义转换日期格式：<input type="text" name="date"/>  <br>
    <input type="submit" value="自定义转换日期格式参数"/>
</form>
<br>

<a href="exception">异常处理</a>
<a href="interceptor/test">拦截器</a>
</body>
</html>
